﻿using Prism.Mvvm;

namespace IntoStationRepair.Models
{
    public class TightenGunModel : BindableBase
    {
        bool isPrepared;
        bool isRunning;
        bool isBreakdown;
        bool isOK;
        bool isNG;
        bool isResetBreakdown;
        bool isConfirmResult;
        int selectProgramNum;
        int curProgramNum;
        float torsion;
        float angle;
        float curX;
        float curY;
        float setX;
        float setY;
        float count;
        public bool IsPrepared
        {
            get => isPrepared; set => SetProperty(ref isPrepared, value);
        }
        public bool IsRunning
        {
            get => isRunning; set => SetProperty(ref isRunning, value);
        }
        public bool IsBreakdown
        {
            get => isBreakdown; set => SetProperty(ref isBreakdown, value);
        }
        public bool IsOK
        {
            get => isOK; set => SetProperty(ref isOK, value);
        }
        public bool IsNG
        {
            get => isNG; set => SetProperty(ref isNG, value);
        }
        public bool IsResetBreakdown
        {
            get => isResetBreakdown; set => SetProperty(ref isResetBreakdown, value);
        }
        public bool IsConfirmResult
        {
            get => isConfirmResult; set => SetProperty(ref isConfirmResult, value);
        }
        public int SelectProgramNum
        {
            get => selectProgramNum; set => SetProperty(ref selectProgramNum, value);
        }
        public int CurProgramNum
        {
            get => curProgramNum; set => SetProperty(ref curProgramNum, value);
        }
        public float Torsion
        {
            get => torsion; set => SetProperty(ref torsion, value);
        }
        public float Angle
        {
            get => angle; set => SetProperty(ref angle, value);
        }
        public float CurX
        {
            get => curX; set => SetProperty(ref curX, value);
        }
        public float CurY
        {
            get => curY; set => SetProperty(ref curY, value);
        }
        public float SetX
        {
            get => setX; set => SetProperty(ref setX, value);
        }
        public float SetY
        {
            get => setY; set => SetProperty(ref setY, value);
        }
        public float Count
        {
            get => count; set => SetProperty(ref count, value);
        }
    }
}
